package com.fzq.server.enums;

public enum ProductStatus {
    up(0, "在架"),
    down(1, "下架"),
    ;

    private Integer code;
    private String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    ProductStatus(Integer code, String message) {
        this.message = message;
        this.code = code;
    }
}
